﻿@model asMeishi.web.Models.shop
@{
    ViewBag.Title = "CreateSuccess";
    int type = (int)ViewBag.resultType;
}

<h2>@Model.name 操作成功</h2>
@switch(type){
    case 1:
        <div><a href="/shop/Create">再建一个</a> | <a href="/shop/detail/@Model.Id">进入 @Model.name</a></div>
         break;
    case 2:
         <div><a href="/shop/Create">新建一个</a> | <a href="/home">返回首页</a></div>
         break;
}